---
title: "execute scene · RUAL Documentation"
description: "With this block you can execute a scene."
canonical: https://docs.rual.nl/block-types/Home Automaton/aqaraconnection_scene_execute
language: en
---

# execute scene

This block is part of the [`Home Automaton`](https://docs.rual.nl/block-types/Home%20Automaton) group and was last modified in core [`v13.0.8`](https://docs.rual.nl/core-versions/130008).

With this block you can execute a scene.

- flow `flow`

- Connection required `aqaraconnection` An authenciated aqara connection

- Scene ID required `value` The ID of the scene you want to execute.

- flow `flow`

- Connection `aqaraconnection` The aqara connection.

- Success `condition` If successful, this pin returns true.

- Error `value` Error message if the scene could not be executed.

A typical wiring for [execute scene](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_scene_execute): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [open connection](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_open) feeds the `connection` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the execute scene block: typical wiring for execute scene.](https://docs.rual.nl/canvas-examples/aqaraconnection_scene_execute.png)

### Version history

Introduced in [`v13.0.8`](https://docs.rual.nl/core-versions/130008).
